package com.kunag.builderFactory.demo3;

/**
 * @Title:
 * @Description:
 *  抽象建造者：装修工人
 * @Author: zx
 * @Date: create in 15:00 2020/8/5
 * @Version: 1.0
 */
public abstract  class Decorator {
    //创建产品对象
    protected  Parlour product=new Parlour();
    public  abstract void buildWall();
    public  abstract void buildTV();
    public  abstract void buildSofa();
    //返回产品对象
    public  Parlour getResult()
    {
        return  product;
    }
}
